package start;

public class A implements I{
    private A a;
    public A() {
        System.out.println("Constructor: "+this.getClass().getCanonicalName()+"="+this);
    }

    public void setA(A a) {
        System.out.println(this+":setA("+a+")");
        this.a = a;
    }

    public A getA() {
        System.out.println(this+":getA()="+a);
        return a;
    }
}
